<?php

namespace common\enum;


class ActiveEnum
{
    static $activeTemplate = [
        1 => ["name" => "每日签到", "description" => "每日签到优惠活动模板"],
        2 => ["name" => "验证邮箱", "description" => "验证邮箱"],
        3 => ["name" => "手机验证", "description" => "手机验证"],
        4 => ["name" => "每日抽奖", "description" => "幸运大抽奖"],
        5 => ["name" => "救援金", "description" => "输钱送活动"],
        6 => ["name" => "擂台奖", "description" => "赛事型优惠活动"],
        7 => ["name" => "奖上奖", "description" => "中奖再加奖活动"],
        8 => ["name" => "连续闯关", "description" => "连续过关奖励活动"],
        9 => ["name" => "充值优惠", "description" => "充值优惠"],
        10 => ["name" => "注册优惠", "description" => "注册优惠"]
    ];

    // 停用
    const ACTIVE_STATUS_UNENABLE = 0;
    // 启用
    const ACTIVE_STATUS_ENABLE = 1;
    //删除
    const ACTIVE_STATUS_DELETE = 2;
    //待发放
    const ACTIVE_STATUS_SENDING = 3;

    const ACTIVITY_CUSTOM=0;   // 自定义活动
    const ACTIVE_EVERY_DAY_DEPOSIT = 1;                                // 'name' => '每日首存',
    const ACTIVE_MAILBOX_VERIFICATION = 2;                             // 'name' => '验证邮箱',
    const ACTIVE_PHONE_VERIFICATION = 3;                               // 'name' => '手机验证',
    const ACTIVE_EVERY_DAY_LOTTERY = 4;                                // 'name' => '每日抽奖',幸运大抽奖
    const ACTIVE_RESCUE_PRIZE = 5;                                     // 'name' => '救援金',输钱送活动（回水活动）
    const ACTIVE_PLATFORM_PRIZE = 6;                                   // 'name' => '擂台奖',赛事型优惠活动
    const ACTIVE_PRIZE_ON_PRIZE = 7;                                   // 'name' => '奖上奖',中奖再加奖活动
    const ACTIVE_CONTINUOUS_PASS = 8;                                  // 'name' => '连续闯关',连续过关奖励活动
    const ACTIVE_RECHARGE_OFFER = 9;                                   // 'name' => '充值优惠',
    const ACTIVE_REGISTERED_OFFER = 10;                                // 'name' => '注册优惠',
    const ACTIVE_EVERY_DAY_SIGN = 11;                                   // 'name' => '每日签到',
    const ACTIVE_EVERY_DAY_BET = 12;                                   // 'name' => '每日投注',
    const ACTIVE_BACKWATER = 13;                                // 'name' => '返水活动',

    const ACTIVE_STATUS_UNSEND = 0;           //未发放
    const ACTIVE_STATUS_SEND = 1;           //已发放
    const ACTIVE_STATUS_SEND_MORE = 2;           //超出发放数量
    const ACTIVE_STATUS_NORIGHT  = 3;           //超出发放数量

    // 优惠打码量要求类型
    const ACTIVE_WITHDRAW_TYPE_TIMES = 1; // 倍数
    const ACTIVE_WITHDRAW_TYPE_AMOUNT = 2; // 固定额度
    const ACTIVE_WITHDRAW_TYPE_NONE = 0; // 固定额度


    const ACTIVE_PRIZE=1; // 固定金额
    const ACTIVE_PERCENT=2;//比例
}

